﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DB_NH.DB_Model.WorkBill
{
    /// <summary>
    /// 工作单评价
    /// </summary>
    public class WorkBillEvaluate : Entity
    {
        #region 数据表名称
        public static readonly string TableName = "WorkBillEvaluate";
        #endregion

        #region 字段
        /// <summary>
        /// 所属工作单
        /// </summary>
        public virtual WorkBill WorkBill { get; set; }

        /// <summary>
        /// 评价人
        /// </summary>
        public virtual DB_Model.ywxt.t_sys_user Evaluator { get; set; }

        /// <summary>
        /// 评价内容
        /// </summary>
        public virtual string EvaluateContent { get; set; }

        /// <summary>
        /// 评价分数级别，未评价0，最低是1，最高是5：
        /// 5：优秀；4：良好；3：中等；2：不及格；1：差；
        /// </summary>
        public virtual int EvaluateLevel { get; set; }
        #endregion

        public WorkBillEvaluate()
        {
            //设置默认的评价级别0：未评价
            EvaluateLevel = 0;
        }
    }
}
